package com.blueocean_health.care.management.service.order_service_info;

import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import com.blueocean_health.care.management.domain.ordervo.OrderInfoVo;
import com.blueocean_health.care.management.domain.ordervo.UserOrderVo;
import com.blueocean_health.care.management.exception.OrderServiceException;

/**
 * 订单服务信息Service
 */
public interface OrderServiceInfoService {

    /**
     * 更新/新增 订单服务信息
     * @return
     * @throws OrderServiceException 
     */
    void updateOrderServiceInfo(OrderInfoVo order,String orderType,Integer userId,String hid) throws OrderServiceException;

    /**
     * 取消订单
     */
    void deleteOrder(String orderId) throws OrderServiceException;
    
    /**
     * 更新/新增 用户端订单明细
     * @param orderVo
     * @param orderId 
     * @throws OrderServiceException 
     */
	void updateOrderUserServiceInfo(UserOrderVo orderVo, String orderId) throws OrderServiceException;
}
